<?php
return [
    'adminEmail' => 'admin@example.com',
    /**
     * 守护进程
     */
    'daemon' => [

        'task' => [
            'masterPidFilePath' => '@runtime/pid/task.process.pid',
        ],
        //同步进程
        'sync' => [
            'masterPidFilePath' => '@runtime/pid/sync.process.pid',
            'masterName' => 'pdd_sync', //进程名称
            'workerNumber' => 5, //进程数量
            'workerName' => 'pdd_sync_work' //work进程名称
        ],
        //同步商品进程
        'syncdetail' => [
            'masterPidFilePath' => '@runtime/pid/syncdetail.process.pid',
            'masterName' => 'pdd_syncdetail', //进程名称
            'workerNumber' => 5, //进程数量
            'workerName' => 'pdd_syncdetail_work' //work进程名称
        ],
        //同步运费模版
        'synclogistics' => [
            'masterPidFilePath' => '@runtime/pid/synclogistics.process.pid',
            'masterName' => 'pdd_synclogistics', //进程名称
            'workerNumber' => 5, //进程数量
            'workerName' => 'pdd_synclogistics_work' //work进程名称
        ],
        //批量操作任务进程
        'syncbatch' => [
            'masterPidFilePath' => '@runtime/pid/syncbatch.process.pid',
            'masterName' => 'pdd_syncbatch', //进程名称
            'workerNumber' => 5, //进程数量
            'workerName' => 'pdd_syncbatch_work' //work进程名称
        ],
        //批量操作任务商品进程
        'syncbatchdetail' => [
            'masterPidFilePath' => '@runtime/pid/syncbatchdetail.process.pid',
            'masterName' => 'pdd_syncbatchdetail', //进程名称
            'workerNumber' => 5, //进程数量
            'workerName' => 'pdd_syncbatchdetail_work' //work进程名称
        ],
        'copy' => [
            'masterPidFilePath' => '@runtime/pid/copy.process.pid',
        ],
        //采集经常
        'crawler' => [
            'masterPidFilePath' => '@runtime/pid/crawler.process.pid',
            'masterName' => 'pdd_crawler', //进程名称
            'workerNumber' => 5, //进程数量
            'workerName' => 'pdd_crawler_work' //work进程名称
        ],
        //入云库进程配置
        'cloud' => [
            'masterPidFilePath' => '@runtime/pid/cloud.process.pid',
            'masterName' => 'pdd_cloud', //进程名称
            'workerNumber' => 5, //进程数量
            'workerName' => 'pdd_cloud_work' //work进程名称
        ],
        //上货进程配置
        'push' => [
            'masterPidFilePath' => '@runtime/pid/push.process.pid',
            'masterName' => 'pdd_push', //进程名称
            'workerNumber' => 200, //进程数量
            'workerName' => 'pdd_push_work' //work进程名称
        ],
        //上货进程配置
        'pushrefound' => [
            'masterPidFilePath' => '@runtime/pid/pushrefound.process.pid',
            'masterName' => 'pdd_pushrefound', //进程名称
            'workerNumber' => 20, //进程数量
            'workerName' => 'pdd_pushrefound_work' //work进程名称
        ],
        //上货进程配置
        'cloudrefound' => [
            'masterPidFilePath' => '@runtime/pid/pushrefound.process.pid',
            'masterName' => 'pdd_cloudrefound', //进程名称
            'workerNumber' => 20, //进程数量
            'workerName' => 'pdd_cloudrefound_work' //work进程名称
        ]

    ],


    /**
     * 临时文件存储基础路径
     */
    'tmpPath' => '@runtime/tmp'
];
